home *** CD-ROM | disk | FTP | other *** search
- 22
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WriteRegString
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWriteRegString writes a string into the Windows Registry.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWriteRegString( KeyName, ValueName, Data, Branch )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, String, String
- --- RECORDSEPARATOR ---
- KeyName is the name of the key.
- --- RECORDSEPARATOR ---
- ValueName is the name of the value. In 16 bit this value is ignored.
- --- RECORDSEPARATOR ---
- Data is the string to write into the registry.
- --- RECORDSEPARATOR ---
- Branch is the branch of the registry to use. Can be one of the following:
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT"
- --- RECORDSEPARATOR ---
- "HKEY_CURRENT_USER"
- --- RECORDSEPARATOR ---
- "HKEY_LOCAL_MACHINE"
- --- RECORDSEPARATOR ---
- "HKEY_USERS"
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_CURRENT_USERΓÇ¥
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_DYN_DATAΓÇ¥
- --- RECORDSEPARATOR ---
- Under 16 bit Windows, only the HKEY_CLASSES_ROOT branch is accessible -
- --- RECORDSEPARATOR ---
- the Branch setting is ignored.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if the function is successful, otherwise 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set OK = baWriteRegString( "Courses\Computers\101", "CurrentUser", "Gary
- --- RECORDSEPARATOR ---
- Smith" , "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baWriteRegString( "Courses\\Computers\\101", "CurrentUser", "Gary Smith" ,
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- A Registry entry consists of keys and sub-keys, similar to the directories and sub-
- --- RECORDSEPARATOR ---
- directories in the Windows file system. 32 bit Windows adds Values to the registry.
- --- RECORDSEPARATOR ---
- These can be thought of as files within the key. These Values are not available
- --- RECORDSEPARATOR ---
- under 16 bit - the ValueName argument is ignored.
- --- RECORDSEPARATOR ---
- Also in 16 bit, this function can only obtain values from keys located in the
- --- RECORDSEPARATOR ---
- HKEY_CLASSES_ROOT branch of the Registry.
- --- RECORDSEPARATOR ---
- Under Windows 3.1, the KeyName can not contain any spaces.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baReadRegString
- --- RECORDSEPARATOR ---
- baReadRegNumber
- --- RECORDSEPARATOR ---
- baWriteRegNumber
- --- RECORDSEPARATOR ---
- baDeleteReg